<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <title>音画余庆</title>
    <script type="text/javascript" src="../../assets/js/common/iss_app_utility.js?time=20180529134742"></script>
    <script type="text/javascript" src="../../assets/js/iss_app_configure.js?time=20180529134742"></script>
    <!-- Styles -->
    <style type="text/css">
        .title {
            text-align: center;
        }

        .video-bg {
            width: 100%;
            position: absolute;
            background-position: center;
            height: 100%;
            background-size: cover;
            background-repeat: no-repeat;
            top: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .player {
            width: 100%;
            position: relative;
        }

        .video-play {
            width: 50px;
            height: 50px;
        }

        .playVideo {
            width: 90%;
            position: absolute;
            top: 30vh;
            margin: 0 5%;
            background-color: black;
        }

        .playVideo-bg {
            height: 100vh;
            width: 100vw;
            top: 0;
            position: absolute;
            z-index: 100;
            background-color: rgba(0, 0, 0, 0.3);
            display: none;
        }
        .close{
            position: absolute;
            top: 30vh;
            right: 5%;
            margin-top: -40px;
            margin-right: -10px;
        }
    </style>
</head>

<body>
    <div class="statusbar-overlay">
    </div>
    <div class="panel-overlay">
    </div>
    <div class="views">
        <div class="view view-main">
            <div class="pages navbar-fixed">
                <div id="video_list_page" data-page="video_list" class="page video_list">
                    <!-- navbar 开始 -->
                    <div class="navbar theme-white">
                        <div class="navbar-inner">
                            <div class="left">
                                <a href="#" data-href="../home/index_new.html" class="link icon-only">
                                    <i class="iconfont icon-shouye"></i></a>
                            </div>
                            <div class="center">
                                音画余庆</div>
                            <div class="right">
                            </div>
                        </div>
                    </div>
                    <!-- navbar 结束 -->
                    <div class="page-content content">
                        <li style="display:block;margin-top:10px">
                            <div class="title">宣传片-山水之约</div>
                            <section class="example-video">
                                <div class="player">
                                    <video class="myVideo" style="width: 100%;" src="http://222.86.120.149:30081/Attachment/default/Source/2018/5/28/201805281018241715384.mp4"></video>
                                    <div class="video-bg" style="background-image:url('http://222.86.120.149:30081/Attachment/default/Source/2018/5/28/201805281005344242345.jpg');">
                                        <img src='../../assets/images/common/other/play.png' class="video-play" />
                                    </div>
                                </div>
                            </section>
                        </li>
                        <li style="display:block;margin-top:10px">
                            <div class="title">余庆旅游范第八期--老林河</div>
                            <section class="example-video">
                                <div class="player">
                                    <video class="myVideo" style="width: 100%;" src="http://222.86.120.149:30081/Attachment/default/Source/2017/11/26/20171126224248554595.mp4"></video>
                                    <div class="video-bg" style="background-image:url('http://222.86.120.149:30081/Attachment/Mobile/Source/2017/8/7/20170807162458483576.jpg');">
                                        <img src='../../assets/images/common/other/play.png' class="video-play" />
                                    </div>
                                </div>
                            </section>
                        </li>
                        <li style="display:block;margin-top:10px">
                            <div class="title">余庆旅游范儿第九期--龙家镇吃新节1</div>
                            <section class="example-video">
                                <div class="player">
                                    <video class="myVideo" style="width: 100%;" src="http://222.86.120.149:30081/Attachment/default/Source/2017/11/26/20171126221117682511.mp4"></video>
                                    <div class="video-bg" style="background-image:url('http://222.86.120.149:30081/Attachment/default/Source/2017/6/28/201706281551597249620.jpg');">
                                        <img src='../../assets/images/common/other/play.png' class="video-play" />
                                    </div>
                                </div>
                            </section>
                        </li>
                        <li style="display:block;margin-top:10px">
                            <div class="title">余庆旅游范第五期——构皮滩</div>
                            <section class="example-video">
                                <div class="player">
                                    <video class="myVideo" style="width: 100%;" src="http://222.86.120.149:30081/Attachment/default/Source/2017/11/26/201711262115411546572.mp4"></video>
                                    <div class="video-bg" style="background-image:url('http://222.86.120.149:30081/Attachment/default/Source/2017/6/5/201706051450275991365.jpg');">
                                        <img src='../../assets/images/common/other/play.png' class="video-play" />
                                    </div>
                                </div>
                            </section>
                        </li>
                        <li style="display:block;margin-top:10px">
                            <div class="title">余庆旅游范第四期——走进茶博会</div>
                            <section class="example-video">
                                <div class="player">
                                    <video class="myVideo" style="width: 100%;" src="http://222.86.120.149:30081/Attachment/default/Source/2017/11/26/20171126202603974014.mp4"></video>
                                    <div class="video-bg" style="background-image:url('http://222.86.120.149:30081/Attachment/default/Source/2017/6/5/201706051448461526124.jpg');">
                                        <img src='../../assets/images/common/other/play.png' class="video-play" />
                                    </div>
                                </div>
                            </section>
                        </li>
                        <li style="display:block;margin-top:10px">
                            <div class="title">余庆旅游范第三期——走进二龙景区</div>
                            <section class="example-video">
                                <div class="player">
                                    <video class="myVideo" style="width: 100%;" src="http://222.86.120.149:30081/Attachment/default/Source/2017/11/26/201711261951409269695.mp4"></video>
                                    <div class="video-bg" style="background-image:url('http://222.86.120.149:30081/Attachment/default/Source/2017/11/24/201711241823327208723.jpg');">
                                        <img src='../../assets/images/common/other/play.png' class="video-play" />
                                    </div>
                                </div>
                            </section>
                        </li>
                        <li style="display:block;margin-top:10px">
                            <div class="title">余庆旅游范第二期桃花节</div>
                            <section class="example-video">
                                <div class="player">
                                    <video class="myVideo" style="width: 100%;" src="http://222.86.120.149:30081/Attachment/default/Source/2017/11/26/201711261919337633367.mp4"></video>
                                    <div class="video-bg" style="background-image:url('http://222.86.120.149:30081/Attachment/default/Source/2017/8/18/201708181658392704222.jpg');">
                                        <img src='../../assets/images/common/other/play.png' class="video-play" />
                                    </div>
                                </div>
                            </section>
                        </li>
                        <li style="display:block;margin-top:10px">
                            <div class="title">旅游范豪宜酒店成品第七期</div>
                            <section class="example-video">
                                <div class="player">
                                    <video class="myVideo" style="width: 100%;" src="http://222.86.120.149:30081/Attachment/default/Source/2017/11/26/201711261812559264920.mp4"></video>
                                    <div class="video-bg" style="background-image:url('http://222.86.120.149:30081/Attachment/default/Source/2017/11/26/201711261750294328914.jpg');">
                                        <img src='../../assets/images/common/other/play.png' class="video-play" />
                                    </div>
                                </div>
                            </section>
                        </li>
                        <li style="display:block;margin-top:10px">
                            <div class="title">土司古镇敖溪第六期</div>
                            <section class="example-video">
                                <div class="player">
                                    <video class="myVideo" style="width: 100%;" src="http://222.86.120.149:30081/Attachment/default/Source/2017/11/24/201711241852179059986.mp4"></video>
                                    <div class="video-bg" style="background-image:url('http://222.86.120.149:30081/Attachment/default/Source/2017/11/24/201711241823327208723.jpg');">
                                        <img src='../../assets/images/common/other/play.png' class="video-play" />
                                    </div>
                                </div>
                            </section>
                        </li>
                        <li style="display:block;margin-top:10px">
                            <div class="title">油菜花生成最后第一期</div>
                            <section class="example-video">
                                <div class="player">
                                    <video class="myVideo" style="width: 100%;" src="http://222.86.120.149:30081/Attachment/default/Source/2017/11/24/201711241724015162976.mp4"></video>
                                    <div class="video-bg" style="background-image:url('http://222.86.120.149:30081/Attachment/default/Source/2017/11/24/201711241652455152528.jpg');">
                                        <img src='../../assets/images/common/other/play.png' class="video-play" />
                                    </div>
                                </div>
                            </section>
                        </li>
                        <li style="display:block;margin-top:10px">
                            <div class="title">2016余庆旅游形象宣传片</div>
                            <section class="example-video">
                                <div class="player">
                                    <video class="myVideo" style="width: 100%;" src="http://222.86.120.149:30081/Attachment/default/Source/2017/7/6/201707061708448431307.mp4"></video>
                                    <div class="video-bg" style="background-image:url('http://222.86.120.149:30081/Attachment/default/Source/2017/3/3/201703031911288021889.jpg');">
                                        <img src='../../assets/images/common/other/play.png' class="video-play" />
                                    </div>
                                </div>
                            </section>
                        </li>
                    </div>
                    <div class="playVideo-bg">
                        <video class="playVideo" src="" controls></video>
                        <img src="../../assets/images/common/other/delete_img.png" width="30" height="30" class="close"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- 外部链接 -->
    <script type="text/javascript " src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
        
    <script type="text/javascript" src="../../assets/js/base/framework7.min.js"></script>
    <script type="text/javascript" src="../../assets/js/base/iss_api_jquery.js"></script>
    <script type="text/javascript" src="../../assets/js/common/iss_app.js?time=20180529134742"></script>
    <script type="text/javascript" src="../../assets/js/common/iss_app_common_user.js?time=20180529134742"></script>
    <script type="text/javascript" src="../../assets/js/common/iss_app_convertor.js?time=20180529134742"></script>
    <script type="text/javascript">
        $('#video_list_page li section').each(function (index) {
            $(this).on("click", function () {
                var src = $(this).find('.myVideo').attr('src');
                var imgurl = $(this).find('.video-bg').css('background-image');
                if(imgurl.length > 9){
                    imgurl = imgurl.substr(5,imgurl.length-7);
                }
                window.location.href = "../../view-yuqing/know/video_detail.html?url="+src+"&imgurl="+imgurl;

                // var oldscr=$('.playVideo').attr('src');
                // if(src!==oldscr){
                //     $('.playVideo').attr('src', src);
                // }
                // $('.playVideo-bg').show();
                // document.getElementsByClassName('playVideo')[0].play();
            });
        })

        $('.close').on('click', function () {
            $('.playVideo-bg').hide();
            document.getElementsByClassName('playVideo')[0].pause();
        })
    </script>
</body>

</html>